﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Axis.Dao.Research;
using Axis.BusinessObject.Research;
using Axis.Web.Administrator.Global;
using Axis.BusinessObject.Core;
using System.Text;
using Axis.Dao.Core;
using Axis.Dao.News;
using Axis.BusinessObject.News;

namespace Axis.Web.Administrator.Views.Research
{
    public partial class ResearchList : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            IList<CTag> allCloundTabs = new CNewsDao().GetTags(string.Format("<InputValue UserID='{0}' SecrectToken='{1}' RowsPerPage='2000' PageIndex='1'/>", CSecurity.USER_ID, CSecurity.SECRECT_TOKEN));
            ddlTags.DataSource = allCloundTabs;
            ddlTags.DataTextField = "Text";
            ddlTags.DataValueField = "ID";
            ddlTags.DataBind();
            ddlTags.Items.Insert(0, new ListItem("(Tất cả)", "-100"));
        }
    }
}